fishbowl: Plug a small leak
authorTimm Bäder <mail@baedert.org>
Sat, 13 Jul 2019 08:10:17 +0000 (10:10 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 13 Jul 2019 08:10:17 +0000 (10:10 +0200)
demos/gtk-demo/fishbowl.c

index 5eaadcde0f57fe31a67926ea3845085da8208166..e420dc37489b55a4656d4a9fc1867dedab2a2ec4 100644 (file)
@@ -306,6 +306,7 @@ do_fishbowl (GtkWidget *do_widget)
                         G_CALLBACK (gtk_widget_destroyed), &window);
 
       gtk_widget_realize (window);
+      g_object_unref (builder);
     }
 
   if (!gtk_widget_get_visible (window))